package cn.usian.mapper;

import cn.usian.pojo.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface OrderMapper extends BaseMapper<Order> {
    List<Order> findPage(Map pojo);

    @Select("select user_id from tb_order where id=#{id}")
    Long findUidById(Long id);
}
